<section class="adminforms">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Select Exam Code &nbsp;&nbsp;
<?php
	include "../Exam.php";
	$exams=new Exam;
	$exams->examCodeList();
?>
<script>
	$(function(){
		$("#selectExam").click(function(){
			$.post("selectedExam.php?seed="+Math.random(),{
				selectedExamCode:$("#examDropDown").val()
				},function(data){
					alert(data);
			});
		});
	});
</script>
<br/>
<button type='button' id='selectExam'>Activate</button>
</section>
